#ifndef CZENMOUSE_H
#define CZENMOUSE_H

#include "ZenEngine.h"

enum MouseButton {LEFT = 0, RIGHT, MIDDLE, EXTRA};

class CZenMouse
{
protected:
	CZenEngine				zen;
	LPDIRECTINPUTDEVICE8	m_pMouseDev;
	BOOL					m_bInitialized;
	DIMOUSESTATE			m_MouseData;

public:
	CZenMouse();
	~CZenMouse();

	HRESULT Initialize(HWND);
	HRESULT Poll();

	POINT GetMousePos();
	BOOL IsButtonDown(MouseButton);
};

#endif
